package com.zkgl.rent.domain;

import java.math.BigDecimal;

import org.springframework.data.annotation.Transient;

import com.zkgl.common.annotation.Excel;
import com.zkgl.common.core.domain.BaseEntity;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * 房源信息对象 zk_property
 * 
 * @author macro
 * @date 2025-09-25
 */
@Data
@ToString
@EqualsAndHashCode(callSuper = false)
public class Property extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 房源ID */
    private Long id;

    /** 所属房东ID */
    @Excel(name = "所属房东ID")
    private Long landlordId;

    /** 所属房东名称 */
    @Transient
    private String landlordName;

    /** 房源名称 */
    @Excel(name = "房源名称")
    private String propertyName;

    /** 详细地址 */
    @Excel(name = "详细地址")
    private String address;

    /** 面积（平方米） */
    @Excel(name = "面积", readConverterExp = "平=方米")
    private BigDecimal area;

    /** 户型 */
    @Excel(name = "户型")
    private String roomType;

    /** 标准月租金 */
    @Excel(name = "标准月租金")
    private BigDecimal rentPrice;

    /** 押金金额 */
    @Excel(name = "押金金额")
    private BigDecimal depositAmount;

    /** 水表编号 */
    @Excel(name = "水表编号")
    private String waterMeter;

    /** 电表编号 */
    @Excel(name = "电表编号")
    private String elecMeter;

    /** 燃气表编号 */
    @Excel(name = "燃气表编号")
    private String gasMeter;

    /** 物业费（元/月） */
    @Excel(name = "物业费", readConverterExp = "元=/月")
    private BigDecimal propertyFee;

    /** 房源状态 */
    @Excel(name = "房源状态")
    private String status;

}
